package com.b2b.model;

import com.b2b.model.entity.goods.Category;
import lombok.Data;
import org.springframework.stereotype.Repository;

import javax.persistence.Table;
import java.util.List;

@Data
@Repository
@Table(name = "category")
public class CategoryDto extends Category {
    private List<CategoryDto> childrenList;
}
